<div class="panel">

	<form ng-submit="solicitarPrestamo()" name="crearPrestamo">
		<div>
			<label>Dispositivos Disponibles</label>
			 <select ng-model="dispositivo">
				<option ng-repeat="dispositivo in dispositivos" class="form-control ng-pristine ng-valid"
					value="{{dispositivo.idDispositivo}}">{{dispositivo.descripcion}}</option>
			</select>
		</div>
		<div>
			<label>Fecha</label> <input type="date"
				class="form-control ng-pristine ng-valid" required="required"
				placeholder="Fecha inicial de préstamo" ng-model="fecha">
		</div>
		<div>
			<label>Hora Inicial </label> <input type="time"
				class="form-control ng-pristine ng-valid" required="required"
				placeholder="Fecha Final de préstamo" ng-model="horaInicial">
		</div>
		<div>
			<label>Hora Final </label> <input type="time"
				class="form-control ng-pristine ng-valid" required="required"
				placeholder="Fecha Final de préstamo" ng-model="horaFinal">
		</div>
		<br />
		<button type="submit" class="btn btn-primary">Enviar</button>


	</form>

</div>


